* {
            margin: 0;
            padding: 0;
        }

        body {
            font-family: Arial, sans-serif;
            background-image: url('../img/jpg/background.jpg');
            background-attachment:fixed;
            background-clip: border-box;
            background-size: cover;
        }

        .container {
            display: grid;
            grid-template-areas:
                "header header header"
                ". chart-container weatherforecast"
                ". chart-container ."
                ". chart-container ."
                "bottom bottom bottom";
            grid-template-columns: 1fr 4fr 2fr;
            gap: 10px;
            height: 100vh;
        }

        .dropdown {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-image: url('../img/jpg/background.jpg');
            position: relative;
        }

        .logo {
            font-size: 16px;
            font-weight: bold;
            text-align:left;
            display: none;
            position: absolute;
            top: 100%;
            left: -50%;
            background-color: rgba(245, 245, 245, 0.9);
            color: black;
            padding: 10px;
            border-radius: 10px;
            box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
            z-index: 1;
        }

        .dropdown:hover .logo {
            display: block;
        }

        .header {
            grid-area: header;
            background-color: rgba(245, 245, 245, 0.6);
            color: black;
            display: flex;
            justify-content: space-around;
            align-items: center;
            font-size: 18px;
            border-radius: 10px;
            height: 120px;
            position: sticky;
            top: 0;
            transition: transform 0.3s ease-in-out;
            z-index: 100;
        }

        .header.hidden {
            transform: translateY(-100%);
        }

        .main {
            grid-area: chart-container;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(3, 1fr);
            gap: 20px;
        }

        .main .chart-container {
            background-color: rgba(255, 255, 255, 0.6);
            border: 1px solid #ccc;
            border-radius: 10px;
            padding: 15px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-direction: column;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .main .chart-container canvas {
            width:100px;
            height: 100px;
        }

        .main .chart-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .weather_forecast {
            grid-area: weatherforecast;
            background-color: rgba(245, 245, 245, 0.6);
            border: 1px solid #ccc;
            border-radius: 10px;
            padding: 15px;
            display: flex;
            align-items: flex-start;
            flex-direction: column;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            width: 300px;
            height: 400px;
        }

        /*以下代码为菜单UI From Uiverse.io by Cornerstone-04 */
        .box {
            width: 140px;
            height: auto;
            float: left;
            transition: .5s linear;
            position: relative;
            display: block;
            overflow: hidden;
            padding: 15px;
            text-align: center;
            margin: 0 5px;
            background: transparent;
            text-transform: uppercase;
            font-weight: 900;
        }

        .box:before {
            position: absolute;
            content: '';
            left: 0;
            bottom: 0;
            height: 4px;
            width: 100%;
            border-bottom: 4px solid transparent;
            border-left: 4px solid transparent;
            box-sizing: border-box;
            transform: translateX(100%);
        }

        .box:after {
            position: absolute;
            content: '';
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            border-top: 4px solid transparent;
            border-right: 4px solid transparent;
            box-sizing: border-box;
            transform: translateX(-100%);
        }

        .box:hover {
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        }

        .box:hover:before {
            border-color: #262626;
            height: 100%;
            transform: translateX(0);
            transition: .3s transform linear, .3s height linear .3s;
        }

        .box:hover:after {
            border-color: #262626;
            height: 100%;
            transform: translateX(0);
            transition: .3s transform linear, .3s height linear .5s;
        }

        button {
            color: black;
            text-decoration: none;
            cursor: pointer;
            outline: none;
            border: none;
            background: transparent;
        }

        /*以下为搜索框UI From Uiverse.io by garerim */
        .container-input {
            position: relative;
        }

        .input {
            width: 200px;
            padding: 10px 0px 10px 40px;
            border-radius: 9999px;
            border: solid 1px #333;
            transition: all .2s ease-in-out;
            outline: none;
            opacity: 0.8;
        }

        .container-input svg {
            position: absolute;
            top: 50%;
            left: 10px;
            transform: translate(0, -50%);
        }

        .input:focus {
            opacity: 1;
            width: 250px;
        }

        .dropdown:hover .logo {
            display: inline-block;
            position:relative;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        }

        .bottom {
            grid-area: bottom;
            background-color: rgba(245, 245, 245, 0.9);
            color: black;
            display: flex;
            justify-content: space-around;
            align-items: center;
            font-size: 18px;
            border-radius: 10px;
            height: 120px;
            position: relative;
        }